<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Vue</title>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
</head>
<body>

<div id="app_f_s">
    <p>单个复选框</p>
    <input type="checkbox" id="cb" v-model="checked">
    <label for="cb">{{checked}}</label>
    <br/>

    <p>多个复选框</p>
    <input type="checkbox" id="usa" value="USA" v-model="checkNames">
    <label for="usa">USA</label>
    <input type="checkbox" id="china" value="CHINA" v-model="checkNames">
    <label for="china">CHINA</label>
    <input type="checkbox" id="rsa" value="RSA" v-model="checkNames">
    <label for="rsa">RSA</label>
    <p>{{checkNames}}</p>
</div>

<script>
    let v = new Vue({
        el: '#app_f_s',
        data: {
            checked: false,
            checkNames: []
        }
    });
</script>

</body>
</html>